package com.feicheng.iou.service.student.open;

import com.baomidou.mybatisplus.extension.api.R;
import com.feicheng.iou.entity.Student;
import com.feicheng.iou.entity.User;
import com.feicheng.iou.pojo.login.LoginParamPOJO;
import com.feicheng.iou.result.ResultInfoV110;

import javax.print.DocFlavor;
import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName StudentOpenService
 * @Description TODO
 * @Author luoxin
 * @Date 2021/8/31 11:59 上午
 */
public interface StudentOpenService {
    //登录接口
    ResultInfoV110 selectUserInfoOfLogin(LoginParamPOJO loginParamPOJO,HttpServletRequest request);

    //修改学生账号密码接口
    ResultInfoV110 updatePassword(String password,Integer userId,String openId);

    //查询学生个人信息接口
    ResultInfoV110 selectInfo(Integer userId);

    //修改个人信息接口
    ResultInfoV110 update(Student student, User user);

    //查询支付信息及分期列表信息接口
    ResultInfoV110 selectPayment(Integer userId);

    //还款接口
    ResultInfoV110 repayment(Integer pamentItemId,String businessTNumber);

}
